<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>优家购房系统 - 租赁合同信息添加</title>
	<script type="text/javascript" src="../../My97DatePicker/WdatePicker.js"></script>
	<link rel="stylesheet" href="../../css/main.css">
	<link rel="stylesheet" href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body style="background:url('../../image/bg6.jpg');background-size:cover;">
<div class="box">
	<h3>添加租赁合同信息</h3>
	<form action="../../LeaseContractServlet2?method=add" method="post">
	<table class="form-table">
		<tr>
			<td>合同号</td>
			<td colspan="3" class="control">
				<input type="text" name="lcNumber" placeholder="合同编号">
			</td>
		</tr>
		<tr>
			<td>房屋id号</td>
			<td colspan="3" class="control">
				<input type="text" name="flatId" placeholder="房屋id号">
			</td>
		</tr>
		<tr>
			<td>租户id号</td>
			<td colspan="3" class="control">
				<input type="text" name="lesseeId" placeholder="租户id号">
			</td>
		</tr>
		<tr>
			<td>合同日期</td>
			<td colspan="3" class="control">
				<input type="text" name="lcDate" placeholder="合同签署日期" class="Wdate" onClick="WdatePicker()">
			</td>
		</tr>
		<tr>
			<td>租赁开始时间</td>
			<td colspan="3" class="control">
				<input type="text" name="lcStartDate" placeholder="租赁开始时间" class="Wdate" onClick="WdatePicker()">
			</td>
		</tr>
		<tr>
			<td>租赁结束时间</td>
			<td colspan="3" class="control">
				<input type="text" name="lcEndDate" placeholder="租赁结束时间" class="Wdate" onClick="WdatePicker()">
			</td>
		</tr>
		<tr>
			<td>房租总额</td>
			<td colspan="3" class="control">
				<input type="text" name="totalRent" placeholder="房租总额(单位:元)">
			</td>
		</tr>
		<tr>
			<td>付款方式</td>
			<td colspan="3" class="control">
				<select name="payWay">
					<option value="0">月付</option>
					<option value="1">半年付</option>
					<option value="2">年付</option>
					<option value="3">季付</option>
				</select>
			</td>
		</tr>
		<tr>
			<td>押金</td>
			<td colspan="3" class="control">
				<input type="text" name="deposit" placeholder="请输入押金(单元:元)">
			</td>
		</tr>
		<tr>
			<td>付款期数</td>
			<td colspan="3" class="control">
				<input type="text" name="periodOfPayment" placeholder="请输入付款的期限(单位：月/期)">
			</td>
		</tr>
		<tr>
			<td>合同签署人</td>
			<td colspan="3" class="control">
				<input type="text" name="lcSigner" placeholder="合同签署人姓名">
			</td>
		</tr>
		<tr>
			<td>合同状态</td>
			<td colspan="3" class="control">
				<select name="contractState">
					<option value="1">正常</option>
					<option value="0">已失效</option>
				</select>
			</td>
		</tr>
	</table>
	<div class="buttons">
		<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
		<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
	</div>
	</form>
</div>
</body>
</html>